home *** CD-ROM | disk | FTP | other *** search
/ Delphi 5 for Professionals / DELPHI5.iso / AddOns / Components / InstallMaster 7.03 / Devfulldemo.exe / file0211.bin < prev    next >
Encoding:
Text File  |  1999-04-26  |  2.1 KB  |  79 lines

  1. Document Type: WSE
  2. item: Global
  3.   Version=6.0
  4.   Title=Addition
  5.   Flags=00000100
  6.   Split=1420
  7.   Languages=65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  8.   Copy Default=1
  9.   Japanese Font Name=MS Gothic
  10.   Japanese Font Size=10
  11.   Start Gradient=0 0 255
  12.   End Gradient=0 0 0
  13.   Windows Flags=00000100000000000010110000001000
  14.   Message Font=MS Sans Serif
  15.   Font Size=8
  16.   Disk Filename=SETUP
  17.   Patch Flags=0000000000000001
  18.   Patch Threshold=85
  19.   Patch Memory=4000
  20.   FTP Cluster Size=20
  21. end
  22. item: Remark
  23.   Text=The sample script for Wise 6.0 shows how to do a simple addition function with Wise's expression parser.
  24. end
  25. item: Remark
  26. end
  27. item: Remark
  28.   Text=These lines of code are devoted to getting input from the user.
  29. end
  30. item: Prompt for Text
  31.   Window Title=Parser Addition Test
  32.   Prompt Title=Please enter a number.
  33.   Variable=NUMBER
  34. end
  35. item: Prompt for Text
  36.   Window Title=Parser Addition Test
  37.   Prompt Title=Please enter a second number.
  38.   Variable=NUMBER2
  39. end
  40. item: Remark
  41. end
  42. item: Remark
  43.   Text=There are two ways to use the expression parser. The first is using the set variable command.
  44. end
  45. item: Remark
  46.   Text=When creating an expression, you do not have to use the percent signs to define the variables.
  47. end
  48. item: Set Variable
  49.   Variable=ANSWER
  50.   Value=NUMBER + NUMBER2
  51.   Flags=00100000
  52. end
  53. item: Display Message
  54.   Title=Expression Parser - Addition Test 1. 
  55.   Text=This Display message shows the set variable command in conjunction with the Expression parser.
  56.   Text=
  57.   Text=%Number% + %Number2% = %Answer%
  58. end
  59. item: Remark
  60. end
  61. item: Remark
  62.   Text=The other way to use the expression parser is shown below, using an if/while statement with "Expression true".
  63. end
  64. item: Remark
  65.   Text=You can also use the command options such as <, >, >=, <=, and, or, not, and <>.
  66. end
  67. item: If/While Statement
  68.   Value=NUMBER + NUMBER2 = ANSWER
  69.   Flags=00001101
  70. end
  71. item: Display Message
  72.   Title=Expression Parser - Addition Test 2.
  73.   Text=This Display message shows an if/while  statement in conjunction with the Expression parser.
  74.   Text=
  75.   Text=Yes,  %Number% + %Number2% = %Answer%
  76. end
  77. item: End Block
  78. end
  79.